package com.baizhi.mapper;

import com.baizhi.entity.CmfzRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.Set;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ljh
 * @since 2020-08-30
 */
@Repository
public interface CmfzRoleMapper extends BaseMapper<CmfzRole> {
    Set<String> getAllRolesByUsername(String username);
    Set<String> getAllPermissionsByUsername(String username);
}
